package com.xnf.utils;

import com.xnf.model.wemeida.pojos.WmUser;


public class WmThreadLocalUtils {
    private final static ThreadLocal<WmUser> LOCAL = new ThreadLocal<>();

    public static void set(WmUser wmUser){
        LOCAL.set(wmUser);
    }

    public static WmUser get(){
        return LOCAL.get();
    }

    public static void remove(){
        LOCAL.remove();
    }
}
